package com.example.myapplication;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;

public class RoomActivity extends BaseActivity implements View.OnClickListener {

    /**
     * 成员
     */
    private TextView member;
    /**
     * 关闭直播
     */
    private TextView close;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_room);
        initView();
    }

    private void initView() {
        member = (TextView) findViewById(R.id.member);
        member.setOnClickListener(this);
        close = (TextView) findViewById(R.id.close);
        close.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.member:

                break;
            case R.id.close:
                finish();
                break;
        }
    }
}